package com.zust.zst.arrangelesson.service;

import com.zust.zst.dao.entity.UserTest;
import com.zust.zst.dao.mapper.TestMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author gavin
 * @date 2022/11/10 18:33
 */
@Service("arrangeService")
public class TestArrangeService {

    @Resource
    private TestMapper testMapper;

    public String testService() {
        return "arrange service";
    }

    public void testDAO() {
        UserTest user = testMapper.selectUser();
        System.out.println(user.toString());
    }
}
